<?php
/**
 * Created by 项目.
 * User: xuguopeng
 * Date: 2020-03-19
 * Time: 17:32
 * 小程序用户邀请表
 */

namespace app\api\model;


class UserInvitation extends BaseModel
{
    public function invite()
    {
        return $this->belongsTo('User','invited_person_id');
    }
}